<template>
  <div id="app" @mousemove='mousemove($event,$el)' @mouseup='mouseup($event,$el)'>
    <meta name="viewport" content="width=device-width,minimum-scale=1,maximum-scale=1"/>
    <img src="./assets/logo.png">
    <router-view></router-view>
  </div>
</template>

<script>
export default {
  name: 'app',
  methods:{
    mousemove:function(event) {
        this.$store.commit('dragIng',{event:event});
    },
      mouseup:function(event) {
        this.$store.commit('dragStop',{event:event});
      }
  }
  }
</script>

<style>
#app {
  font-family: 'Avenir', Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-align: center;
  color: #2c3e50;
  margin-top: 60px;
}
</style>
